package com.zbkj.crmeb.chant.request;

import com.common.PageParamRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class MerchantListRequest extends PageParamRequest implements Serializable {
	private static final long serialVersionUID = 3062815696248432554L;

	@ApiModelProperty(value = "商户id")
    private Integer merId;
    
    @ApiModelProperty(value = "商户ids")
    private List<Integer> merIds;

    @ApiModelProperty(value = "渠道名称")
    private String channelName;

    @ApiModelProperty(value = "渠道类型")
    private Integer channelType;
    
    @ApiModelProperty(value = "非此渠道类型")
    private Integer notChannelType;

    @ApiModelProperty(value = "账户冻结状态, 1冻结 0正常")
    private Boolean status;

    @ApiModelProperty(value = "最小金额")
    private BigDecimal accountStart;

    @ApiModelProperty(value = "最大金额")
    private BigDecimal accountEnd;

    @ApiModelProperty(value = "创建时间开始")
//    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeStart;

    @ApiModelProperty(value = "创建时间结束")
//    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeEnd;

    @ApiModelProperty(value = "一级服务商ids")
    private List<Integer> oneLevelAgentIds;

    @ApiModelProperty(value = "二级服务商ids")
    private List<Integer> twoLevelAgentIds;

    @ApiModelProperty(value = "服务商id")
    private Integer agentId;

    @ApiModelProperty(value = "身份类型：1：平台；2：商家；3：一级服务商；4：二级服务商")
    private Integer identityType;

    @ApiModelProperty(value = "供应商编号")
    private String suppliersNameCode;

}